package com.cn.kabalifeuser.ui.my.bean;

import java.util.List;

/**
 * Created by 晓林 on 2020/9/11.
 * function:
 */
public class CouponListBean {


    /**
     * code : 200
     * result : {"data":[{"id":4,"pid":1,"title":"温商贷","money":"100.00","type":1,"type_val":200,"num":10,"start_time":"1599667200","end_time":"1602000000","place":2,"place_val":2,"status":1,"created_at":"2020-09-10 17:36:11","updated_at":"2020-09-10 17:36:29","subtitle":"满200减100.00","robbed":"0%"}],"count":1}
     * msg : ok
     */

    private int code;
    private ResultBean result;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * data : [{"id":4,"pid":1,"title":"温商贷","money":"100.00","type":1,"type_val":200,"num":10,"start_time":"1599667200","end_time":"1602000000","place":2,"place_val":2,"status":1,"created_at":"2020-09-10 17:36:11","updated_at":"2020-09-10 17:36:29","subtitle":"满200减100.00","robbed":"0%"}]
         * count : 1
         */

        private int count;
        private List<DataBean> data;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 4
             * pid : 1
             * title : 温商贷
             * money : 100.00
             * type : 1
             * type_val : 200
             * num : 10
             * start_time : 1599667200
             * end_time : 1602000000
             * place : 2
             * place_val : 2
             * status : 1
             * created_at : 2020-09-10 17:36:11
             * updated_at : 2020-09-10 17:36:29
             * subtitle : 满200减100.00
             * robbed : 0%
             */

            private int id;
            private int pid;
            private String title;
            private String money;
            private int type;
            private int type_val;
            private int num;
            private String start_time;
            private String end_time;
            private int place;
            private int place_val;
            private int status;
            private String created_at;
            private String updated_at;
            private String subtitle;
            private int robbed;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getPid() {
                return pid;
            }

            public void setPid(int pid) {
                this.pid = pid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getType_val() {
                return type_val;
            }

            public void setType_val(int type_val) {
                this.type_val = type_val;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getStart_time() {
                return start_time;
            }

            public void setStart_time(String start_time) {
                this.start_time = start_time;
            }

            public String getEnd_time() {
                return end_time;
            }

            public void setEnd_time(String end_time) {
                this.end_time = end_time;
            }

            public int getPlace() {
                return place;
            }

            public void setPlace(int place) {
                this.place = place;
            }

            public int getPlace_val() {
                return place_val;
            }

            public void setPlace_val(int place_val) {
                this.place_val = place_val;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public String getSubtitle() {
                return subtitle;
            }

            public void setSubtitle(String subtitle) {
                this.subtitle = subtitle;
            }

            public int getRobbed() {
                return robbed;
            }

            public void setRobbed(int robbed) {
                this.robbed = robbed;
            }
        }
    }
}
